Skip to content

updates to deal with stashing pages #437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2024
Merged

updates to deal with stashing pages #437

merged 1 commit into from
Aug 1, 2024

Conversation

devsetgo
Copy link
Owner

@devsetgo devsetgo commented Aug 1, 2024

Introduces updates to our CI workflow for handling stashing pages during the deployment process to GitHub Pages.

Motivation:

In our current workflow, untracked changes can disrupt the deployment process, leading to potential errors or incomplete deployments. By implementing a stash operation before pulling the latest changes from the gh-pages branch, we ensure that any local modifications do not interfere with the deployment process.

Changes Made:

  1. Stash Changes: Before pulling the latest gh-pages, we stash any local changes, including untracked files. This prevents conflicts and ensures a clean state for the upcoming operations.
  2. Apply Stash: After updating the branch, we pop the stash to restore any local changes, preserving our intended modifications while still ensuring a smooth deployment.

Improvements:

These adjustments enhance the reliability of our deployment process by isolating untracked changes, thereby reducing the likelihood of errors during the Git operations. This leads to a more robust and predictable CI/CD pipeline, ultimately improving the quality of our documentation deployments.

Copy link

sonarqubecloud bot commented Aug 1, 2024

@devsetgo devsetgo merged commit cdd506e into main Aug 1, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant